	var gulp=require("gulp");
	var sass=require("gulp-ruby-sass");
	var connect=require("gulp-connect");
	//var concat=require("gulp-concat");
	
	
	gulp.task("compilecss",function(){
		sass("./scss/*.scss").pipe(gulp.dest("./css/"));
	});
	gulp.task("refreshCss",function(){
		gulp.src("./css/sass.css").pipe(connect.reload());
	})
	gulp.task("refreshHtml",function(){
		gulp.src("./sass.html").pipe(connect.reload());
	})
	
	gulp.task("listener",function(){
		connect.server({
			livereload:true
		});
		gulp.watch("./scss/*.scss",["compilecss"]);
		gulp.watch("./css/sass.css",["refreshCss"]);
		/*gulp.watch("./sass.html",["refreshHtml"]);*/
	})

